using System;
using System.Collections.Generic;
using System.Text;

namespace PersistenceObject.Framework.Expressions
{
    public class NullExpression : Expression
    {
        public NullExpression(string name)
        {
            this.Name = name;
        }

        public override string GetFilter(IDbDriver dbOperator)
        {
            return this.Name;
        }
    }

    public class CustomExpression : Expression
    {
        private String sql;
        public CustomExpression(string expression)
        {
            this.sql = expression;
        }

        public override string GetFilter(IDbDriver dbOperator)
        {
            return this.sql;
        }
    }
}
